package com.wsjzzcbq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wsjzzcbq.bean.Account;

/**
 * AccountService
 *
 * @author wsjz
 * @date 2023/10/23
 */
public interface AccountService extends IService<Account> {

    boolean deductAccount(String userId, int money, boolean rollback);

    boolean compensateDeductAccount(String userId, int money);
}
